﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AteneoLibriBusinessLogic.Entities
{
    public class User
    {
        public Guid IdUser { get; set; }

        public string Name { get; set; }

        public string Surname { get; set; }

        public string Email { get; set; }
        
        public string Username { get; set; }
        
        public string Password { get; set; }
        
        public string RecoveryCode { get; set; }
        
        public string ZipCode { get; set; }
        
        public Guid? UniversityId { get; set; }
        
        public Guid? FacultyId { get; set; }

        public DateTime? RegistrationData { get; set; }

        public DateTime? LastUpdate { get; set; }

        public DateTime? LastAccess { get; set; }

        public string PhoneNumber { get; set; }

        public bool? ThirdPartPrivacy { get; set; }

        public bool? VerifyRegistration { get; set; }

        public bool? IsSuspended { get; set; }

        public string IPAddress { get; set; }

        public bool? MarketingNewsletter { get; set; }

        // TODO: add info about mobile device. Every user can have 1 or more device
    }
}
